package Kuaishou;

import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

import scala.Int;

/**
 * @author leiwenkang <leiwenkang@kuaishou.com>
 * Created on 2020-12-22
 */
public class Test19数量测试map {
    public static void main(String[] args) {
        Map<Integer, List<Integer>> map = Maps.newHashMap();

        map.put(1, Lists.newArrayList(1, 2));
        map.put(2, Lists.newArrayList(3, 4));
        map.put(3, Lists.newArrayList(5, 6));
        int size = 0;
        for (List<Integer> oneList : map.values()) {
            size += oneList.size();
        }
        System.out.println(size);
    }
}
